<?php
    require_once dirname(__FILE__) . '/shared/config/config.php';
    require_once DOCUMENT_ROOT . DIR_INCLUDE . 'check_user_login.php';
    require_once DOCUMENT_ROOT . DIR_INCLUDE . 'html_generator.php';
    $title = 'User Profile';

?>

<!DOCTYPE html>
<!-- IE SECTION -->

<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->

                     <!-- END IE SECTION -->
<html>
<head>
    <?php require_once DOCUMENT_ROOT . DIR_INCLUDE . 'head.php' ?>
</head>
<body>
<?php require_once DOCUMENT_ROOT . DIR_INCLUDE . 'header.php' ?>

<!-- Title -->
<div class="section section-black">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="calltoaction-wrapper">
                    <h3>Profile</h3>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- End Title -->

<!-- Match Detail -->
<div class="section">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="service-wrapper">
                    <div class="row">
                        <form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) ?>" method="POST">
                            <button name="btn_register" class="btn btn-lg">Register for Affiliate System</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>

        <div class="row">

            <div class="col-md-3">
                <div class="service-wrapper">
                    <ul class="nav nav-stacked text-left">
                        <li>
                            <a href="">Generate Affiliate Link</a>
                        </li>
                        <li>
                            <a href="">Client List</a>
                        </li>
                    </ul>

                </div>
            </div>

            <div class="col-md-9">
                <div class="service-wrapper">
                    <div class="row">
                        <h1 class="text-left" style="float: left; clear: both; padding-left: 15px; font-size: 18pt">
                            <span class="label label-primary">Your link is:</span>
                        </h1>
                        <span class="text-info" style="float: left; text-align: left; padding: 7px 15px;"> http://techstorm-solution.com/betting/register.php?aff_id=c4ca4238a0b923820dcc509a6f75849b</span>
                    </div>
                </div>

                <div class="service-wrapper">
                    <div class="row">
                        <h1><span class="label label-primary">Client List:</span></h1>
                        <table class="table" style="margin-top: 30px">
                            <tr>
                                <th class="text-center">ID</th>
                                <th class="text-center">Username</th>
                                <th class="text-center">Email</th>
                                <th class="text-center">Name</th>
                                <th class="text-center">Phone Number</th>
                                <th class="text-center">Received Profit</th>
                            </tr>
                            <tr>
                                <td class="text-center">1</td>
                                <td class="text-center">admin</td>
                                <td class="text-center">admin@aa.com</td>
                                <td class="text-center">admin</td>
                                <td class="text-center">123456789</td>
                                <td class="text-center text-success">$1000</td>
                            </tr>
                            <tfoot>
                            <th colspan="5">Total Profit Received:</th>
                            <th class="text-success text-center">$1000</th>
                            </tfoot>
                        </table>
                    </div>
                </div>
            </div>

        </div>

    </div>
</div>
<!-- End Match Detail -->

<?php require_once DOCUMENT_ROOT . DIR_INCLUDE . 'footer.php' ?>
</body>
</html>